/**
 * @param {Egg.Application} app - egg application
 */
import { Application } from "egg"
export default (app: Application) => {
  const { router, controller } = app;
  const recyclingMiddleware = app.middleware.recyclingMiddleware()

  //上传相关
  router.post('/upload', controller.upload.upload); //上传
  router.get("/ttsDemo",controller.ttsController.tts)
}
